package twitmasturbation.jdo.table;

import java.util.Date;
import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class HistoryTbl {
    @PrimaryKey
    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
    private Long id;

    @Persistent
    private long accountId;

	@Persistent
    private Date date;

    public HistoryTbl(long accountId, Date date) {
        this.accountId = accountId;
        this.date = date;
    }

    public Long getId() {
        return id;
    }


    public long getAccountId() {
		return accountId;
	}

	public void setAccountId(long accountId) {
		this.accountId = accountId;
	}


    public Date getDate() {
        return date;
    }


    public void setDate(Date date) {
        this.date = date;
    }
}